package com.teradata.olingo.processor.core.filter;

import org.apache.olingo.server.api.ODataApplicationException;

import javax.persistence.criteria.Expression;

public interface GenericComparisonOperator<T extends Comparable<T>> extends GenericExpressionOperator {

  Expression<T> getLeft() throws ODataApplicationException;

  Object getRight();

  Comparable<T> getRightAsComparable() throws ODataApplicationException;

  Expression<T> getRightAsExpression() throws ODataApplicationException;

}